package net.bongke.provider.create.service.impl;

import net.bongke.provider.create.domain.request.CreateArticleRequest;
import net.bongke.provider.create.exception.CreateBizException;
import net.bongke.provider.create.exception.CreateErrorCodeEnum;
import net.bongke.provider.create.service.ArticleService;
import org.springframework.stereotype.Service;

/**
 * 创建文章服务类
 * @author 戴辉辉
 */
@Service
public class ArticleServiceImpl implements ArticleService {
    @Override
    public void createArticle(CreateArticleRequest createArticleRequest) {
        throw new CreateBizException(CreateErrorCodeEnum.USER_ID_IS_NULL);
    }
}
